<template>
  <!-- 禁止鼠标拖动图片 -->
  <div id="app" ondragstart="return false;">
    <router-view />
  </div>
</template>

<style>
@font-face {
  font-family: Apr;
  src: url('./assets/font/Alibaba-PuHuiTi-Regular.otf');
}

#app {
  font-family: Apr, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-radius: 2px;
}

input,
select,
option,
textarea {
  outline: none;
}

/* 显示一行，省略号 */
.text-elip {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* el-scrollbar去除x轴滑动条 */
.el-scrollbar {
  height: 100%;
}

.el-scrollbar__wrap {
  overflow-x: hidden;
}
/* 修复element-ui 下拉框问题 */
.el-select-dropdown .el-scrollbar {
  padding-bottom: 17px;
}

/* 过度动画-渐隐渐显 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
</style>
